PHY RAY CAST ALL SHAPES

Perform a ray cast and check if a collision occurs between the ray and any objects.

  Syntax
Return Integer=PHY RAY CAST ALL SHAPES(Float Value, Float Value, Float Value, Float Value, Float Value, Float Value)
  Parameters
originX#
Float
origin of the ray on the X axis
originY#
Float
origin of the ray on the Y axis
originZ#
Float
origin of the ray on the Z axis
directionX#
Float
direction of the ray on the X axis
directionY#
Float
direction of the ray on the Y axis
directionZ#
Float
direction of the ray on the Z axis

  Returns

A value of 1 is returned if the ray hit an object whereas 0 is returned if the ray did not hit an object

  Example Code
No example code is provided for this command